OTP\Handler\Forms\YourOwnForm A

Total Complexity 58
Dependencies 8
Dependents 0
Total lines 440
Lines of code 276
Logical lines of code 131
Comment lines 118
Methods 20
Properties 4

Methods 20

Method Rating Maintainability Complexity Lines of code
handle_form_options()
S
56 6 17
checkIntegrity()
S
55 5 22
send_otp()
S
54 5 22
check_validated_on_submit()
S
58 5 17
parseFormDetails()
S
57 5 15
checkIntegrityAndValidateOTP()
S
52 4 26
handle_form()
S
54 3 21
__construct()
S
54 2 20
get_phone_number_selector()
S
70 3 6
processFormAndValidateOTP()
S
59 2 15
process_email_and_send_otp()
S
59 2 15
process_phone_and_send_otp()
S
60 2 14
mo_enqueue_form_script()
S
52 1 25
checkIfOTPSent()
S
66 2 10
handle_failed_verification()
S
69 2 7
handle_post_verification()
S
69 2 7
isPhoneEnabled()
S
78 2 3
getSubmitKeyDetails()
S
71 2 6
getFieldKeyDetails()
S
75 2 4
unset_otp_session_variables()
S
76 1 4